#include <iostream>
#include "ston_log.h"

// Needed only for using StonDBC
#include "ston_dbc.h"

// Function to be able to define your dependencies
void StonLog::setupDepends() {
    // Call the static keepAlive() of every Singleton class that this one depends on
    //StonDBC::keepAlive(); // [TEST] (Un)Comment to define dependencies
}

StonLog::StonLog() : message("Using Log\n") {
    std::cout << "Constructing Singleton: Log\n";
}

StonLog::~StonLog() {
    std::cout << "Destructing Singleton: Log\n";
}

void StonLog::doUse() {
    std::cout << message;
}
